package com.ctshk.rpc.order.season.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 套票-订单-旅客类型
 * </p>
 *
 * @author 杨林
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_season_product_order_tourist_type")
@ApiModel(value="SeasonProductOrderTouristType对象", description="套票-订单-旅客类型")
public class SeasonProductOrderTouristType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "固体套票id")
    @TableField(exist = false)
    private Long seasonProductId;

    @ApiModelProperty(value = "打包id(动态打包类型使用这个字段，关联t_season_dynamic_product_package表)")
    @TableField(exist = false)
    private Long packageId;

    @ApiModelProperty(value = "关联t_season_order id")
    private Long seasonOrderId;

    @ApiModelProperty(value = "旅客类型id:成人 2：儿童")
//    private Integer touristType;
    private Integer passengerId;

    @ApiModelProperty(value = "旅客人数")
    private Integer passengerNum;

    @ApiModelProperty(value = "旅客类型名")
//    private Integer touristTypeName;
    private Integer passengerTypeName;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
